package org.td.engine.entity;

public class BuildingClass extends EntityClass {

    private int width;
    private int height;

    public BuildingClass(ParameterMap parameterMap) {
        super(parameterMap);
        width = parameterMap.getValue("width", Integer.class);
        height = parameterMap.getValue("height", Integer.class);
    }

    public int getWidth() {
        return width;
    }

    public int getHeight() {
        return height;
    }
}
